import UpmsMenuAndAuthorityTree from '@/core/upms/types/model/dto/UpmsMenuAndAuthorityTree'
import UpmsMenuShowStatusEnum from '@/core/upms/enums/UpmsMenuShowStatusEnum'
import UpmsMenuResponse from '@/core/upms/types/model/response/UpmsMenuResponse'
import UpmsAuthorityResponse from '@/core/upms/types/model/response/UpmsAuthorityResponse'

const menus: UpmsMenuAndAuthorityTree[] = [
	{
		menu: {
			uri: '/upms',
			title: '权限管理',
			icon: 'fa-solid fa-user-shield',
			sort: 0,
			showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
		} as Partial<UpmsMenuResponse>,
		authority: {} as UpmsAuthorityResponse,
		children: [
			{
				menu: {
					uri: '/upms/application',
					title: '权限应用',
					icon: 'fa-solid fa-user-shield',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/upms/authority',
					title: '权限资源',
					icon: 'fa-solid fa-key',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/upms/menu',
					title: '菜单管理',
					icon: 'fa-solid fa-list',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/upms/role',
					title: '角色管理',
					icon: 'fa-solid fa-id-card',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/upms/role/authority',
					title: '角色权限管理',
					icon: 'fa-solid fa-user-gear',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/upms/role/account',
					title: '角色账户管理',
					icon: 'fa-solid fa-user-lock',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
		],
	},
]

export default menus
